package com.atguigu.tingshu.user.factory;

import com.atguigu.tingshu.user.strategy.PurchaseStrategy;

/**
 * ClassName: PurchaseStrategyFactory
 * Package: com.atguigu.tingshu.user.factory
 * Description:
 *
 * @Author:
 * @Create: 2025/8/9 - 23:58
 * @Version: v1.0
 */
public interface PurchaseStrategyFactory {

    /**
     * 核心定义：解决类的选择问题
     * @param itemType
     * @return
     */
    PurchaseStrategy getStrategy(String itemType);
}
